import Vue from 'vue'
import Vuex from 'vuex'

import app from './modules/app'
import user from './modules/user'
import room from './modules/room'
import home from './modules/home'
import renter from './modules/renter'
import ticket from './modules/ticket'
import staff from './modules/staff'

Vue.use(Vuex)

const store = new Vuex.Store({
  modules: {
    app,
    user,
    room,
    home,
    renter,
    ticket,
    staff
  }
})

export default store
